<div class="contents">
    <ol class="breadcrumb">
        <li><a href="#/index/panel">首页</a></li>
        <li><a href="#/ad/list">素材管理</a></li>
        <li class="active">新增素材</li>
    </ol>
    <form class="form-horizontal" role="form" name="form" ng-submit="save()" novalidate>

        <div class="form-group" ng-class="{'has-error':form.pic.$invalid && form.pic.$dirty}">
            <label for="advertLinkInput" class="col-sm-2 control-label">图片地址
                <div class="text-muted">{{sucai.advertPosition | advertPositionSizeRender}}</div>
            </label>

            <div class="col-sm-5">
                <input type="text" class="form-control" id="advertLinkInput" placeholder="图片地址" name="pic"
                       ng-model="sucai.picAddre" required="required">

                <div class="btn btn-primary add-pic-btn">上传图片</div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-5">
                <button type="submit" class="btn btn-default">提交</button>
            </div>
        </div>
    </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8"></div>
